x86/S3: Don't save unnecessary GPRs
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 13 Dec 2019 17:52:21 +0000 (17:52 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 18 Dec 2019 11:42:54 +0000 (11:42 +0000)
commita8e9ac0a23b0ef38aa3396b720d9aa0788d8d94f
tree6b36ac235e177e34e9e0500455d723d2c88135f3
parentb3a32e206305bbfc057f27967d8fc72a325a9e2a
x86/S3: Don't save unnecessary GPRs

Only the callee-preserved registers need saving/restoring.  Spill them to the
stack like regular functions do.  %rsp is now the only GPR which gets stashed
in .data

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/acpi/wakeup_prot.S